<template>
	<view>
		<web-view :webview-styles="webviewStyles" :src="toUrl"></web-view>
		<!-- <uni-link :href="toUrl" text="微信支付"></uni-link> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				webviewStyles: {
					progress: {
						color: '#f18b49'
					}
				},
				toUrl: '',
			}
		},
		onLoad(e) {
			// this.toUrl = decodeURIComponent(e.url)
			this.toUrl = e.url
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
